package com.housediyadmin.events.goodsEvents
{   	
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	
	/**
	 * 
	 * @author yanghanbing
	 * 2011/2/28
	 */ 
	public class GetAllGoodsEvent extends Event
	{
		public static const GET_ALL_GOODS:String = "getAllGoods";
		public static const UPDATE_GOODS_MODEL:String = "updateGoodsModel";
		
		public var goodsArray:ArrayCollection;
		public var dictName:String;
		
		public function GetAllGoodsEvent(type:String, dictName:String = null, goodsArray:ArrayCollection = null)
		{
			super(type);
			this.goodsArray = goodsArray;
			this.dictName = dictName;
		}
		
		override public function clone():Event
		{
			return new GetAllGoodsEvent(type, dictName, goodsArray);
		}
	}
}